<template>
  <footer class="b-nav">
    <div class="outer">
      <div class="pack-b">
        <img src="/image/web_detail/footer/fx.png" alt="" />
        <span>分享</span>
        <img src="/image/web_detail/footer/pl.png" alt="" />
        <span @click="comment">评价</span>
        <img src="/image/web_detail/footer/tj.png" alt="" />
        <span>推荐票</span>
        <img src="/image/web_detail/footer/sj.png" alt="" />
        <span>加入书架</span>
        <div class="pack-aa">
          <a href="">购买</a>
          <a href="">免费试读</a>
        </div>
      </div>
    </div>
  </footer>
</template>
<script>

export default ({
  data() {
    
  },
  methods:{
    comment(){
      
    }
  }
})
</script>

<style lang="scss">
.pack-b > img {
  margin-right: 3px;
  width: 20px;
  height: 19px;
}
.pack-b > span {
  color: #389eac;
  margin-right: 10px;
}
.pack-aa {
  float: right;
  height: 50px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
}
.pack-aa > a {
  display: inline-block;
  background: #389eac;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  font-size: 14px;
  padding: 10px;
  border-radius: 5px;
  position: absolute;
  right: 145px;
}
.pack-aa > a:nth-child(2) {
  right: 0;
  min-width: 132px;
  background-color: #5dcaad;
}
.b-nav {
  width: 100%;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  box-shadow: 0 0.5px 5px 0 #ddd;
  font-size: 12px;
  line-height: 50px;
  background-color: white;
}
.outer {
  width: 1200px;
  margin: 0 auto;
  .pack-b {
    width: 810px;
    margin: 0 auto;
    position: relative;
  }
}
</style>